{% extends "edicion_hipertextual/base_ebf_edicion_hipertextual.html" %}

{% block contenidoeditorregla %}

<form method="POST">{% csrf_token %}
<table>
<tr>
	<th></th>
	<th>Activado</th>
	<th>Seleccionado</th>
</tr>
{% for renglon in formvl.renglones %}
	<tr>
	<td>
	{% if renglon.2 %}
		&nbsp;&nbsp;&nbsp;&nbsp;
	{% endif %}
	{{ renglon.0 }}</td>
	<td align="center"><input type="radio" name="vlfield" value="{{ renglon.1 }}"
	{% if formvl.seleccionado == renglon.1 %}
		checked="checked"
	{% endif %}
	 /></td>
	<td align="center">
	{% if renglon.2 %}
	<input type="radio" name="vlfield" value="{{ renglon.2 }}"
	{% if formvl.seleccionado == renglon.2 %}
		checked="checked"
	{% endif %}
	 />
	{% endif %}
	</td>
	</tr>
{% endfor %}
</table>
<input type="submit" value="Guardar" />
</form>
{% endblock %}
